import request from '@/utils/request'
import { config } from '@/utils/requestconfig'

export function getListAndTree(data) {
  return request({
    baseURL: config.reimburseurl,
    url: 'SysCustomArchivesDetail/GetListAndTree',
    method: 'post',
    data: data
  })
}
// 保存
export function saveData(data) {
  return request({
    baseURL: config.reimburseurl,
    url: 'SysCustomArchivesDetail/SaveData',
    method: 'post',
    data: data
  })
}
export function getCount(params) {
  return request({
    baseURL: config.reimburseurl,
    url: 'SysCustomArchivesDetail/GetCount',
    method: 'post',
    params: { Id: params }
  })
}
